package com.fancy.learncenter.bean;

import java.util.List;

/**
 * Created by hyy on 2018/3/5.
 * Explain activity as
 */

public class TrainApplyDetailDataBean {

    /**
     * id : 63
     * user_id : 7
     * user_name : 张三
     * poster :    /upload/train/201803/15220497698159.jpeg
     * title : 测试培训0326
     * content : 测试培训
     * type : 0
     * begin_time : 2018-05-22 00:00:00
     * end_time : 2018-05-22 00:00:00
     * location_id : 110101
     * place : daeqedqwe
     * fee : 100
     * contact1 : 张三:13845685963
     * contact2 :
     * is_recommand : 0
     * exhibition_id : 0
     * enroll_num : 5
     * add_time : 2018-03-26 15:36:09
     * status : 1
     * location : {"id":"110101","areaname":"东城区","is_province":null,"parentid":"110100","shortname":"东城","lng":null,"lat":null,"level":"3","letter":"d","pinyin":null}
     * is_enroll : 1
     * enrollList : [{"id":"45","train_id":"63","enroll_user_id":"10","enroll_user_name":"初程程","enroll_user_img":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKWiaYLDmIu2RG","contact":"15921416574","company":"邻牙","postion":"供应商","add_time":"2018-04-22 14:21:16"},{"id":"43","train_id":"63","enroll_user_id":"28","enroll_user_name":"你好","enroll_user_img":"http://yigoutong.shweijue.com/upload/user/201804/15239752979096.jpeg","contact":"13045632303","company":"你好","postion":"你好","add_time":"2018-04-19 20:23:29"},{"id":"40","train_id":"63","enroll_user_id":"7","enroll_user_name":"ces","enroll_user_img":"http://www.linya920.com/Public/Wx/img/hkmovie.png","contact":"13636623310","company":"ces","postion":"ces","add_time":"2018-03-30 11:31:16"},{"id":"39","train_id":"63","enroll_user_id":"7","enroll_user_name":"fsdf","enroll_user_img":"http://www.linya920.com/Public/Wx/img/hkmovie.png","contact":"13245667890","company":"sdfwfe","postion":"sdfsdf","add_time":"2018-03-30 11:30:26"}]
     * is_collect : 0
     * is_self : 0
     * share_title : 测试培训0326
     * share_content : 测试培训
     * share_link : http://yigoutong.shweijue.com/index.php/wx/train/detail/id/63
     * share_img : http://yigoutong.shweijue.com/upload/train/201803/15220497698159.jpeg
     */

    private String id;
    private String user_id;
    private String user_name;
    private String poster;
    private String title;
    private String content;
    private String type;
    private String begin_time;
    private String end_time;
    private String location_id;
    private String place;
    private String fee;
    private String contact1;
    private String contact2;
    private String is_recommand;
    private String exhibition_id;
    private String enroll_num;
    private String add_time;
    private String status;
    private LocationBean location;
    private int is_enroll;
    private int is_collect;
    private int is_self;
    private String share_title;
    private String share_content;
    private String share_link;
    private String share_img;
    private List<EnrollListBean> enrollList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBegin_time() {
        return begin_time;
    }

    public void setBegin_time(String begin_time) {
        this.begin_time = begin_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getLocation_id() {
        return location_id;
    }

    public void setLocation_id(String location_id) {
        this.location_id = location_id;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getContact1() {
        return contact1;
    }

    public void setContact1(String contact1) {
        this.contact1 = contact1;
    }

    public String getContact2() {
        return contact2;
    }

    public void setContact2(String contact2) {
        this.contact2 = contact2;
    }

    public String getIs_recommand() {
        return is_recommand;
    }

    public void setIs_recommand(String is_recommand) {
        this.is_recommand = is_recommand;
    }

    public String getExhibition_id() {
        return exhibition_id;
    }

    public void setExhibition_id(String exhibition_id) {
        this.exhibition_id = exhibition_id;
    }

    public String getEnroll_num() {
        return enroll_num;
    }

    public void setEnroll_num(String enroll_num) {
        this.enroll_num = enroll_num;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public LocationBean getLocation() {
        return location;
    }

    public void setLocation(LocationBean location) {
        this.location = location;
    }

    public int getIs_enroll() {
        return is_enroll;
    }

    public void setIs_enroll(int is_enroll) {
        this.is_enroll = is_enroll;
    }

    public int getIs_collect() {
        return is_collect;
    }

    public void setIs_collect(int is_collect) {
        this.is_collect = is_collect;
    }

    public int getIs_self() {
        return is_self;
    }

    public void setIs_self(int is_self) {
        this.is_self = is_self;
    }

    public String getShare_title() {
        return share_title;
    }

    public void setShare_title(String share_title) {
        this.share_title = share_title;
    }

    public String getShare_content() {
        return share_content;
    }

    public void setShare_content(String share_content) {
        this.share_content = share_content;
    }

    public String getShare_link() {
        return share_link;
    }

    public void setShare_link(String share_link) {
        this.share_link = share_link;
    }

    public String getShare_img() {
        return share_img;
    }

    public void setShare_img(String share_img) {
        this.share_img = share_img;
    }

    public List<EnrollListBean> getEnrollList() {
        return enrollList;
    }

    public void setEnrollList(List<EnrollListBean> enrollList) {
        this.enrollList = enrollList;
    }

    public static class LocationBean {
        /**
         * id : 110101
         * areaname : 东城区
         * is_province : null
         * parentid : 110100
         * shortname : 东城
         * lng : null
         * lat : null
         * level : 3
         * letter : d
         * pinyin : null
         */

        private String id;
        private String areaname;
        private Object is_province;
        private String parentid;
        private String shortname;
        private Object lng;
        private Object lat;
        private String level;
        private String letter;
        private Object pinyin;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAreaname() {
            return areaname;
        }

        public void setAreaname(String areaname) {
            this.areaname = areaname;
        }

        public Object getIs_province() {
            return is_province;
        }

        public void setIs_province(Object is_province) {
            this.is_province = is_province;
        }

        public String getParentid() {
            return parentid;
        }

        public void setParentid(String parentid) {
            this.parentid = parentid;
        }

        public String getShortname() {
            return shortname;
        }

        public void setShortname(String shortname) {
            this.shortname = shortname;
        }

        public Object getLng() {
            return lng;
        }

        public void setLng(Object lng) {
            this.lng = lng;
        }

        public Object getLat() {
            return lat;
        }

        public void setLat(Object lat) {
            this.lat = lat;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getLetter() {
            return letter;
        }

        public void setLetter(String letter) {
            this.letter = letter;
        }

        public Object getPinyin() {
            return pinyin;
        }

        public void setPinyin(Object pinyin) {
            this.pinyin = pinyin;
        }
    }

    public static class EnrollListBean {
        /**
         * id : 45
         * train_id : 63
         * enroll_user_id : 10
         * enroll_user_name : 初程程
         * enroll_user_img : http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKWiaYLDmIu2RG
         * contact : 15921416574
         * company : 邻牙
         * postion : 供应商
         * add_time : 2018-04-22 14:21:16
         */

        private String id;
        private String train_id;
        private String enroll_user_id;
        private String enroll_user_name;
        private String enroll_user_img;
        private String contact;
        private String company;
        private String postion;
        private String add_time;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTrain_id() {
            return train_id;
        }

        public void setTrain_id(String train_id) {
            this.train_id = train_id;
        }

        public String getEnroll_user_id() {
            return enroll_user_id;
        }

        public void setEnroll_user_id(String enroll_user_id) {
            this.enroll_user_id = enroll_user_id;
        }

        public String getEnroll_user_name() {
            return enroll_user_name;
        }

        public void setEnroll_user_name(String enroll_user_name) {
            this.enroll_user_name = enroll_user_name;
        }

        public String getEnroll_user_img() {
            return enroll_user_img;
        }

        public void setEnroll_user_img(String enroll_user_img) {
            this.enroll_user_img = enroll_user_img;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getPostion() {
            return postion;
        }

        public void setPostion(String postion) {
            this.postion = postion;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }
    }
}
